package com.ruoyi.yipaiju.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * fo_notice对象 fo_notice
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public class Notice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** client */
    @Excel(name = "client")
    private String client;

    /** foreclosed_house_id */
    @Excel(name = "foreclosed_house_id")
    private Long foreclosedHouseId;

    /** discount_house_id */
    @Excel(name = "discount_house_id")
    private Long discountHouseId;

    @Excel(name = "通知类型", dictType = "fo_house_category")
    private Integer noticeType;

    private Integer status;

    private ForeclosedHouse foreclosedHouse;
    private DiscountHouse discountHouse;

    private String openId;
    private String title;
    private String address;
    private Date startTime;
    private Integer priceYuan;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPriceYuan() {
        return priceYuan;
    }

    public void setPriceYuan(Integer priceYuan) {
        this.priceYuan = priceYuan;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Integer getNoticeType() {
        return noticeType;
    }

    public void setNoticeType(Integer noticeType) {
        this.noticeType = noticeType;
    }

    public ForeclosedHouse getForeclosedHouse() {
        return foreclosedHouse;
    }

    public void setForeclosedHouse(ForeclosedHouse foreclosedHouse) {
        this.foreclosedHouse = foreclosedHouse;
    }

    public DiscountHouse getDiscountHouse() {
        return discountHouse;
    }

    public void setDiscountHouse(DiscountHouse discountHouse) {
        this.discountHouse = discountHouse;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClient(String client) 
    {
        this.client = client;
    }

    public String getClient() 
    {
        return client;
    }
    public void setForeclosedHouseId(Long foreclosedHouseId) 
    {
        this.foreclosedHouseId = foreclosedHouseId;
    }

    public Long getForeclosedHouseId() 
    {
        return foreclosedHouseId;
    }
    public void setDiscountHouseId(Long discountHouseId) 
    {
        this.discountHouseId = discountHouseId;
    }

    public Long getDiscountHouseId() 
    {
        return discountHouseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("client", getClient())
            .append("foreclosedHouseId", getForeclosedHouseId())
            .append("discountHouseId", getDiscountHouseId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
